package com.example.loganalysis.entity;

public class TLoginLog {
    private int id; // 主键
    private String log_type;
    private String datetime; // 对应 datetime
    private String username;
    private String ip;
    private String type_display;
    private String status_display;
    private String ipfs_hash;
    private String log_id;

    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public String getDateTime() {return datetime;}
    public void setDateTime(String datetime) {this.datetime = datetime;}
    public String getUsername() {return username;}
    public void setUsername(String username) {this.username = username;}
    public String getIp() {return ip;}
    public void setIp(String ip) {this.ip = ip;}
    public String getTypeDisplay() {return type_display;}
    public void setTypeDisplay(String type_display) {this.type_display = type_display;}
    public String getStatusDisplay() {return status_display;}
    public void setStatusDisplay(String status_display) {this.status_display = status_display;}
    public String getIpfsHash() {return ipfs_hash;}
    public void setIpfsHash(String ipfs_hash) {this.ipfs_hash = ipfs_hash;}
    public void setLog_type(String log_type) {this.log_type = log_type;}
    public String getLog_type() {return log_type;}
    public String getLog_id() {return log_id;}
    public void setLog_id(String log_id) {this.log_id = log_id;}
    // Getters and Setters

    @Override
    public String toString() {
        return "TLoginLog{" +
                "datetime='" + datetime + '\'' +
                ", username='" + username + '\'' +
                ", ip='" + ip + '\'' +
                ", type_display='" + type_display + '\'' +
                ", status_display='" + status_display + '\'' +
                ", log_type='" + log_type + '\'' +
                ", ipfs_hash='" + ipfs_hash + '\'' +
                '}';
    }

}
